package com.wcy.service;


import com.wcy.bean.Shanghu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShanghuService {

    //列表
    List<Shanghu> selectList(/*String name,String boss*/Shanghu shanghu);

    //根据id删除
    int deleteById(@Param("id")Integer id);

    //执行添加
    int insertSh(/*String name,
                 String boss,
                 String unit,
                 String createTime,
                 String address*/
                    Shanghu shanghu);

    //批量删除
    int deleteByIds(Integer[] ids);

    Shanghu getShById(@Param("id")Integer id);

    abstract int UpdateById(Shanghu shanghu);
}
